package com.example.shiro_realy.controller;

import com.example.shiro_realy.domian.JsonData;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;

@RestController//可以返回Json数据，controller只能返回页面
@RequestMapping("video")
public class VideoController {
    @RequestMapping("/update")
    public JsonData playRecord(){

        return JsonData.buildSuccess("Video更新成功！");
    }
}
